<div class="a_question" style="margin:0;padding-bottom:0;">
							<div class="a_qsAsk" style="padding:0;">
									<label>网站标题：</label>
										<input class="text-input medium-input" autocomplete="on" name="q" value="<?php echo $this->qs_info['sitename']; ?>" onSubmit="return false;" id="s_search" data-category_enable="<?php echo (get_setting('category_enable') == 'Y') ? 1 : 0; ?>" title="搜索站点..." />
										<input type="hidden" name="siteId" id="siteId" value="<?php echo $this->qs_info['question_id']; ?>"/>
										<input type="hidden" name="special_id" id="special_id" value="<?php echo $this->special_id; ?>"/>
										<input type="hidden" name="qs_id" id="qs_id" value="<?php echo $this->qs_info['id']; ?>"/>
										<input type="hidden" name="showtype" id="showtype" value=2 />
									</p>
									<p>
										<label>个人评论：</label>
										<textarea class="i_glotxtClass i_txtHeight a_qstxt advanced_editor" style="width:596px;" id="comment" name="comment" onfocus="$.focus(this,\'\',$.Q.replenish(this,false,200))"><?php echo $this->qs_info['comment']; ?></textarea>
									</p>
									<p>
										<label>个人评分：</label>
										 <!--    评星插件 BEGIN    -->
										 
										<div id="star" style ="width:150px;float:left"></div>
										<div id ="star_result" style ="float:left;width:300px;height:20px"></div>
										
										 <!--    评星插件 END   -->
									</p>	
									<br>
									<p style="clear:both;"><label>作为专辑封面：<input type="checkbox" name="isbook" value="<?php echo $this->qs_info['question_id']; ?>" ></label>
									</p>
                               <?php TPL::output('global/opencheck.tpl.htm'); ?> 	<!--显示微博同步选项-->	  
								<div class="a_qsReplenish">
									<div class="i_acceMain" style="padding:3px 0 15px;border:0;">
										<div id="file_uploader_question_answer" class="i_uploadMain"></div>
									</div>
								</div>	
							</div>
							<div class="a_qsAsk i_tr">
									<span class="i_anonymity"><input type="checkbox" id="i_do_delete" name="do_delete" value="1" /><label for="i_do_delete">删除回复</label></span>
									<a onclick="ajax_post($('#quick_publish'));" title="确定提交" href="javascript:;" class="i_replay_but2">确定提交</a>
							</div>
						</div>
<script type="text/javascript">
var url="?/admin/special/ajax_search/?"	;

$('#star').raty({
	hintList:  ['好烂呀', '不好用', 'soso啦', '不错哦', '给力，我喜欢'],
	path:"static/common/img",
	onClick: function(score) {
		set_score(score);
	  },
	  
	  
	 start:"<?php echo $this->qs_info['score']; ?>",
	 showHalf:  true,
	 target:'#star_result',
	 targetKeep:true

	
	
});
/*$("#s_search").bind('keyup',function(){	
  url="?/admin/special/ajax_search/?q="+$(this).val()			;						 
});*/
var emails2=[{sitename:'test1',py:'yanchao',sid:'1'}];							   
		$("#s_search").autocomplete('?/special/edit/ajax_search/?', {
			minChars: 0,
			mustMatch: true,
			width: 350,			
			matchContains: true,
			selectFirst: true,
			cacheLength: 1,
			autoFill: false,
			matchCase: true,
//需要把data转换成json数据格式
            parse: function(data) {
            return $.map(eval(data), function(row) {
                return {
                    data: row,
                    value: row.sitename,
                  //  result: row.sitename + " <" + row.sid + ">"
                    result: row.sitename 
                }
            });
        },			
			formatItem: function(row, i, max) {
				return i +  ": " + row.sitename;
			},
			formatMatch: function(row, i, max) {
				return row.sitename + "-" + row.sid + "-" + row.sid;
			},
			formatResult: function(row) {
				return row.sitename;
			}
		}).result(function(event, data, formatted) {
			if ($(this).val() != "") {
				$("#siteId").val(data['sid']);
			}else{
				$("#siteId").val("");
			}	
		});	
</script>						